
//xpos ypos xsize ysize xrel yrel
spriteset (set_monomag_tea_leaf_wagon, "gfx/monomag-tea-leaf-carriage.png") {
	[ 0, 0,  8, 18,  -3, -12]
	[ 9, 0, 20, 16, -14,  -9]
	[30, 0, 28, 12, -14,  -9]
	[60, 0, 20, 16,  -6,  -9]
}

spriteset (set_monomag_tea_boxcar, "gfx/monomag-tea-box-carriage.png") {
	[ 0, 0,  8, 18,  -3, -12]
	[ 9, 0, 20, 16, -14,  -9]
	[30, 0, 28, 12, -14,  -9]
	[60, 0, 20, 16,  -6,  -9]
}


// Monorail tea leaf carriage
item(FEAT_TRAINS, mono_tea_leaf_carriage) {
    property {
        name: string(STR_TEA_LEAF_WAGON_NAME);
        climates_available: ALL_CLIMATES;
        introduction_date: date(1900, 1, 1);
        model_life: VEHICLE_NEVER_EXPIRES;
        default_cargo_type: TEAL;
        sprite_id: SPRITE_ID_NEW_TRAIN;
        misc_flags: bitmask(TRAIN_FLAG_SPRITE_STACK);
        cargo_capacity: 25;
        weight: 15 ton;
        power: 0hp;
        cost_factor: 210;
        loading_speed: 7;
        track_type: MONO;
    }
    graphics {
        default: set_monomag_tea_leaf_wagon;
        purchase: set_monomag_tea_leaf_wagon;
    }
}

// Monorail tea boxcar
item(FEAT_TRAINS, mono_tea_boxcar) {
    property {
        name: string(STR_TEA_BOX_WAGON_NAME);
        climates_available: ALL_CLIMATES;
        introduction_date: date(1900, 1, 1);
        model_life: VEHICLE_NEVER_EXPIRES;
        default_cargo_type: TEAB;
        sprite_id: SPRITE_ID_NEW_TRAIN;
        misc_flags: bitmask(TRAIN_FLAG_SPRITE_STACK);
        cargo_capacity: 25;
        weight: 15 ton;
        power: 0hp;
        cost_factor: 210;
        loading_speed: 7;
        track_type: MONO;
    }
    graphics {
        default: set_monomag_tea_boxcar;
        purchase: set_monomag_tea_boxcar;
    }
}

// Maglev tea leaf carriage
item(FEAT_TRAINS, monomag_tea_leaf_carriage) {
    property {
        name: string(STR_TEA_LEAF_WAGON_NAME);
        climates_available: ALL_CLIMATES;
        introduction_date: date(1900, 1, 1);
        model_life: VEHICLE_NEVER_EXPIRES;
        default_cargo_type: TEAL;
        sprite_id: SPRITE_ID_NEW_TRAIN;
        misc_flags: bitmask(TRAIN_FLAG_SPRITE_STACK);
        cargo_capacity: 25;
        weight: 15 ton;
        power: 0hp;
        cost_factor: 210;
        loading_speed: 7;
        track_type: MGLV;
    }
    graphics {
        default: set_monomag_tea_leaf_wagon;
        purchase: set_monomag_tea_leaf_wagon;
    }
}

// Maglev tea boxcar
item(FEAT_TRAINS, monomag_tea_boxcar) {
    property {
        name: string(STR_TEA_BOX_WAGON_NAME);
        climates_available: ALL_CLIMATES;
        introduction_date: date(1900, 1, 1);
        model_life: VEHICLE_NEVER_EXPIRES;
        default_cargo_type: TEAB;
        sprite_id: SPRITE_ID_NEW_TRAIN;
        misc_flags: bitmask(TRAIN_FLAG_SPRITE_STACK);
        cargo_capacity: 25;
        weight: 15 ton;
        power: 0hp;
        cost_factor: 210;
        loading_speed: 7;
        track_type: MGLV;
    }
    graphics {
        default: set_monomag_tea_boxcar;
        purchase: set_monomag_tea_boxcar;
    }
}

spriteset (set_tea_leaf_wagon, "gfx/tea-leaf-carriage.png") {
	[ 0, 0,  8, 22,  -3, -12]
	[ 9, 0, 20, 16, -14,  -9]
	[30, 0, 28, 12, -16,  -8]
	[60, 0, 20, 16,  -6,  -9]
}

spriteset (set_tea_boxcar, "gfx/tea-box-carriage.png") {
	[ 0, 0,  8, 22,  -3, -12]
	[ 9, 0, 20, 16, -14,  -9]
	[30, 0, 28, 12, -16,  -8]
	[60, 0, 20, 16,  -6,  -9]
}


// Tea leaf carriage
item(FEAT_TRAINS, tea_leaf_carriage) {
    property {
        name: string(STR_TEA_LEAF_WAGON_NAME);
        climates_available: ALL_CLIMATES;
        introduction_date: date(1900, 1, 1);
        model_life: VEHICLE_NEVER_EXPIRES;
        default_cargo_type: TEAL; 
        sprite_id: SPRITE_ID_NEW_TRAIN;
        misc_flags: bitmask(TRAIN_FLAG_SPRITE_STACK);
        cargo_capacity: 25;
        weight: 15 ton;
        power: 0hp;
        cost_factor: 210;
        loading_speed: 7;
        track_type: RAIL;
    }
    graphics {
        default: set_tea_leaf_wagon;
        purchase: set_tea_leaf_wagon;
    }
}

// Tea boxcar
item(FEAT_TRAINS, tea_boxcar) {
    property {
        name: string(STR_TEA_BOX_WAGON_NAME);
        climates_available: ALL_CLIMATES;
        introduction_date: date(1900, 1, 1);
        model_life: VEHICLE_NEVER_EXPIRES;
        default_cargo_type: TEAB; 
        sprite_id: SPRITE_ID_NEW_TRAIN;
        misc_flags: bitmask(TRAIN_FLAG_SPRITE_STACK);
        cargo_capacity: 25;
        weight: 15 ton;
        power: 0hp;
        cost_factor: 210;
        loading_speed: 7;
        track_type: RAIL;
    }
    graphics {
        default: set_tea_boxcar;
        purchase: set_tea_boxcar;
    }
}

